﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A79 RID: 2681
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LobbyInviteCsReq : IMessage<LobbyInviteCsReq>, IMessage, IEquatable<LobbyInviteCsReq>, IDeepCloneable<LobbyInviteCsReq>, IBufferMessage
	{
		// Token: 0x170021DD RID: 8669
		// (get) Token: 0x060077FD RID: 30717 RVA: 0x00140AFC File Offset: 0x0013ECFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LobbyInviteCsReq> Parser
		{
			get
			{
				return LobbyInviteCsReq._parser;
			}
		}

		// Token: 0x170021DE RID: 8670
		// (get) Token: 0x060077FE RID: 30718 RVA: 0x00140B03 File Offset: 0x0013ED03
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LobbyInviteCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170021DF RID: 8671
		// (get) Token: 0x060077FF RID: 30719 RVA: 0x00140B15 File Offset: 0x0013ED15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LobbyInviteCsReq.Descriptor;
			}
		}

		// Token: 0x06007800 RID: 30720 RVA: 0x00140B1C File Offset: 0x0013ED1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyInviteCsReq()
		{
		}

		// Token: 0x06007801 RID: 30721 RVA: 0x00140B2F File Offset: 0x0013ED2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyInviteCsReq(LobbyInviteCsReq other) : this()
		{
			this.uidList_ = other.uidList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007802 RID: 30722 RVA: 0x00140B59 File Offset: 0x0013ED59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyInviteCsReq Clone()
		{
			return new LobbyInviteCsReq(this);
		}

		// Token: 0x170021E0 RID: 8672
		// (get) Token: 0x06007803 RID: 30723 RVA: 0x00140B61 File Offset: 0x0013ED61
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> UidList
		{
			get
			{
				return this.uidList_;
			}
		}

		// Token: 0x06007804 RID: 30724 RVA: 0x00140B69 File Offset: 0x0013ED69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LobbyInviteCsReq);
		}

		// Token: 0x06007805 RID: 30725 RVA: 0x00140B77 File Offset: 0x0013ED77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LobbyInviteCsReq other)
		{
			return other != null && (other == this || (this.uidList_.Equals(other.uidList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007806 RID: 30726 RVA: 0x00140BAC File Offset: 0x0013EDAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.uidList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007807 RID: 30727 RVA: 0x00140BE0 File Offset: 0x0013EDE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007808 RID: 30728 RVA: 0x00140BE8 File Offset: 0x0013EDE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007809 RID: 30729 RVA: 0x00140BF1 File Offset: 0x0013EDF1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.uidList_.WriteTo(ref output, LobbyInviteCsReq._repeated_uidList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600780A RID: 30730 RVA: 0x00140C18 File Offset: 0x0013EE18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.uidList_.CalculateSize(LobbyInviteCsReq._repeated_uidList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600780B RID: 30731 RVA: 0x00140C51 File Offset: 0x0013EE51
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LobbyInviteCsReq other)
		{
			if (other == null)
			{
				return;
			}
			this.uidList_.Add(other.uidList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600780C RID: 30732 RVA: 0x00140C7F File Offset: 0x0013EE7F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600780D RID: 30733 RVA: 0x00140C88 File Offset: 0x0013EE88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U && num != 122U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.uidList_.AddEntriesFrom(ref input, LobbyInviteCsReq._repeated_uidList_codec);
				}
			}
		}

		// Token: 0x04002DED RID: 11757
		private static readonly MessageParser<LobbyInviteCsReq> _parser = new MessageParser<LobbyInviteCsReq>(() => new LobbyInviteCsReq());

		// Token: 0x04002DEE RID: 11758
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002DEF RID: 11759
		public const int UidListFieldNumber = 15;

		// Token: 0x04002DF0 RID: 11760
		private static readonly FieldCodec<uint> _repeated_uidList_codec = FieldCodec.ForUInt32(122U);

		// Token: 0x04002DF1 RID: 11761
		private readonly RepeatedField<uint> uidList_ = new RepeatedField<uint>();
	}
}
